#include <stdio.h>
#include <math.h>
#define PI 3.14159265

int main(void) {
    printf("%g\n", sqrt((1.0 - cos(PI / 3.0)) * 0.5));
    return 0;
}
